#define _CRT_SECURE_NO_WARNINGS 1

#include <iostream>
#include <stack>
#include <queue>
using namespace std;
#include "priority_queue.h"

void test01()
{
	My_priority_queue::priority_queue<int,vector<int>,less<int>> pq;
	pq.push(66);
	pq.push(20);
	pq.push(5);
	pq.push(2);
	pq.push(18);
	pq.push(13);
	pq.push(19);
	pq.push(1);

	cout << "size: " << pq.size() << endl;

	while (!pq.empty())
	{
		cout << pq.top() << " ";
		pq.pop();
	}
	cout << endl;

	cout << pq.size() << endl;
}	

int main()
{
	test01();

	return 0;
}